package com.gxa.service;

import com.gxa.common.JsonResult;
import com.gxa.common.PageRecv;
import com.gxa.common.R;
import com.gxa.pojo.Documentary;

/**
 * Created with IntelliJ IDEA.
 * User: 张剑宇
 * Date: 2021/12/02 18:36
 * Description:
 * Version: V1.0
 */
public interface DocumentaryService {
    //1.跟单页面查询
    JsonResult findDocumentaryList(PageRecv<Documentary> pageRecv);

    JsonResult<Documentary> searchDocumentaryListByCondition(PageRecv<Documentary> pageRecv);

    R deleteDocumentary(Integer documentary_id);
    R deleteDocumentaryByCustomerId(Integer customer_id);

     R addDocumentary(Documentary documentary) ;

    R updateDocumentary(Documentary documentary);

    JsonResult<Documentary> searchDocumentaryList(String condition,Integer pageSize,Integer currentPage,String employee_name);

    R countDocumentaryByEmployee(String start_time,String stop_time);

    R countDocumentaryByDept(String start_time,String stop_time);
}
